package com.cayden.componets.threadpool;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author cayden
 * @date 2021-10-19 13:29
 */
@ConfigurationProperties(prefix = ThreadPoolProperties.PREFIX)
@Data
@Slf4j
public class ThreadPoolProperties {
    public static final String PREFIX = "cayden.threadpool";

    private int threadMin = 10;

    private int threadMax = 100;

    private int threadQueue = 50;
}
